package com.itheima.service;

import com.itheima.domain.pojo.Dept;
import com.itheima.mapper.DeptMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

public interface DeptService {
    List<Dept> list();

    void deleteById(Integer id);

    void add(Dept dept);

    Dept getInfo(Integer id);

    void updateById(Dept dept);

}
